package com.econ.powercloud.ems.pojo.requestVO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jwc
 * @since 2023/05/26
 */
@Data
public class HisDataExportRequestVO<T> {

    @NotNull(message = "开始时间")
    @ApiModelProperty("开始时间")
    private Long startTime;

    @NotNull(message = "结束时间")
    @ApiModelProperty("结束时间")
    private Long endTime;

    @NotNull(message = "间隔不能为空")
    @ApiModelProperty(value = "时间间隔")
    private Integer timeIntervalType;

    @NotEmpty(message = "文件名不能为空")
    @ApiModelProperty(value = "文件名")
    private String fileName;

    @NotEmpty(message = "点号集合不能为空")
    @ApiModelProperty("历史数据点号集合")
    private List<T> hisDataVOS;
}
